package com.lagou.cl.pojo;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Table(name = "c_order", schema = "test")
public class COrder implements Serializable {
	private Long id;
	private Boolean isDel;
	private Integer userId;
	private Integer companyId;
	/**
	 * B端⽤户id
	 */
	private Integer publishUserId;
	private Integer positionId;
	/**
	 * 简历类型：
	 * 0附件
	 * 1在线
	 */
	private Integer resumeType;
	/**
	 * 投递状态:
	 * WAIT-待处理
	 * AUTO_FILTER-⾃动过滤
	 * PREPARE_CONTACT-待沟通
	 * REFUSE-拒绝
	 * ARRANGE_INTERVIEW-通知⾯试,
	 */
	private String status;
	private Timestamp createTime;
	private Timestamp updateTime;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Basic
	@Column(name = "is_del")
	public Boolean isDel() {
		return isDel;
	}

	public void setDel(Boolean del) {
		isDel = del;
	}

	@Basic
	@Column(name = "user_id")
	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Basic
	@Column(name = "company_id")
	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	@Basic
	@Column(name = "publish_user_id")
	public Integer getPublishUserId() {
		return publishUserId;
	}

	public void setPublishUserId(Integer publishUserId) {
		this.publishUserId = publishUserId;
	}

	@Basic
	@Column(name = "position_id")
	public Integer getPositionId() {
		return positionId;
	}

	public void setPositionId(Integer positionId) {
		this.positionId = positionId;
	}

	@Basic
	@Column(name = "resume_type")
	public Integer getResumeType() {
		return resumeType;
	}

	public void setResumeType(Integer resumeType) {
		this.resumeType = resumeType;
	}

	@Basic
	@Column(name = "status")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Basic
	@Column(name = "create_time")
	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	@Basic
	@Column(name = "update_time")
	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

}
